package com.txhy.certificatechain.helper;

import java.io.Serializable;

/*
 * -----------------------------------------------------------------
 * Copyright (C) 2018-2030, by your company, All rights reserved.
 * -----------------------------------------------------------------
 * 文    件: LzyResponse.java
 * 作    者: 侯建军
 * 版    权: 1.0.0
 * 描    述: 转换类
 * 创建时间: 2018/9/19 17:07
 * 更新时间：2018/9/19 17:07
 * -----------------------------------------------------------------
 * 2018/9/19 17:07: 创建 LzyResponse.java (侯建军);
 * -----------------------------------------------------------------
 */
public class LzyResponse<T> implements Serializable {
    private static final long serialVersionUID = 5213230387175987834L;
    public int code;
    public String msg;
    public T data;

    @Override
    public String toString() {
        return "LzyResponse{\n" +//
                "\tcode=" + code + "\n" +//
                "\tmsg='" + msg + "\'\n" +//
                "\tdata=" + data + "\n" +//
                '}';
    }
}

